@import './base.css';

#app {
  user-select: none;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  --headerH: 80px;
  --asideW: 240px;
  --pyColor: #1e6fff;
  --el-color-primary: var(--pyColor);
  --el-menu-active-color: var(--el-color-primary);
}

.flex-cc {
  display: flex;
  justify-content: center;
  align-items: center;

  &.fdc {
    flex-direction: column;
  }

  &.jcb {
    justify-content: space-between;
  }

  &.jca {
    justify-content: space-around;
  }

  &.jce {
    justify-content: space-evenly;
  }
}

labelArea {
  display: block;
  border: 1px solid var(--el-border-color);
  padding: 12px 10px;
  position: relative;

  & + labelArea {
    margin-top: 15px;
  }

  &::after {
    content: attr(label);
    position: absolute;
    inset: -10px 0 0 8px;
    width: fit-content;
    height: fit-content;
    padding: 0 2px;
    background-color: #fff;
    font-size: 12px;
    line-height: initial;
  }
}

/* @media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
} */
